<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="js/jquery.min.js" type="text/javascript"></script>
    <script src="js/qrcode.min.js" type="text/javascript"></script>
</head>
<body>
    <div id="qrcode"></div>
<script>
    $.ajax({
        url:"api/wxpay/createqccode/D10000012019031414444786c451",
        method:"get",
        success:function (data) {
           new QRCode(document.getElementById('qrcode'), data.data.codeUrl);
        }
    });
</script>
</body>
</html>